GO
ALTER TABLE [dbo].[Task]  WITH CHECK ADD  
CONSTRAINT [FK_Task_TaskPriority] FOREIGN KEY ([TaskPriority_Id])
REFERENCES [dbo].[TaskPriority] ([Id])

